/*
* Copyright 2016 YONYOU Corporation Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project         marketing

* @Package         com.yonyou.marketing.message.push.entrance

* @Author          LuZhen

* @FileName        MessageProtocolMessageTemplateConent

* @Date            16/11/10

----------------------------------------------------------------------------------
*     Date          Who             Version         Comments
* 1. 16/11/10        LuZhen          1.0             Create Source
*
----------------------------------------------------------------------------------
*/
package org.marketing.common.entity.pushmessage;

import java.util.HashMap;
import java.util.Map;

/**
 * 模板类消息
 */
public class MessageProtocolMessageTemplateContent {

    /**
     * 参数key
     */
    private String key;

    /**
     * 参数calue
     */
    private String value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Map<String, String> getExtraMap() {
        return extraMap;
    }

    public void addExtraMap(String key, String value) {
        this.extraMap.put(key,value);
    }

    public void addExtraMap(Map<String, String> map) {
        this.extraMap.putAll(map);
    }

    /**
     * 附加内容
     */
    private Map<String,String> extraMap = new HashMap<>();

}
